<ion-view view-title="购买">
<div class="bar bar-header bar-assertive item-input-inset">
  <label class="item-input-wrapper label-bg">
    <i class="icon ion-ios-search-strong"></i>
    <input type="search" placeholder="搜索笔记，商品和用户">
  </label>
  <button class="button button-clear icon ion-android-cart"></button>
</div>
<ion-header-bar class="bar-subheader">
        <ion-scroll class="nav-scroll" direction="x" scrollbar-x="false">
            <div class="button-bar sub_header_list">
                <a href="#/tabs/purchase/quanbu" class="button button-clear button-select" ng-click="purchasePage(0)">全部</a>
                <a href="#/tabs/purchase/hufu" class="button button-clear" ng-click="purchasePage(1)">护肤</a>
                <a href="#/tabs/purchase/caizhuang" class="button button-clear" ng-click="purchasePage(2)">彩妆</a>
                <a href="#/tabs/purchase/shishang" class="button button-clear" ng-click="purchasePage(3)">时尚</a>
                <a href="#/tabs/purchase/jiaju" class="button button-clear" ng-click="purchasePage(4)">家居</a> 
                <a href="#/tabs/purchase/muying" class="button button-clear" ng-click="purchasePage(5)">母婴</a>
                <a href="#/tabs/purchase/gerenhuli" class="button button-clear" ng-click="purchasePage(6)">个人护理</a>
                <a href="#/tabs/purchase/jiatingqingjie" class="button button-clear" ng-click="purchasePage(7)">家庭清洁</a>
                <a href="#/tabs/purchase/meishi" class="button button-clear" ng-click="purchasePage(8)">美食</a>
                <a href="#/tabs/purchase/baojianpin" class="button button-clear" ng-click="purchasePage(9)">保健品</a>
                <a href="#/tabs/purchase/shumajiadian" class="button button-clear" ng-click="purchasePage(10)">家电数码</a>  
            </div>
        </ion-scroll>
        <button class="button button-stable button-clear  icon ion-ios-arrow-down xiangxi" ng-click="showMenu($event)"></button>
    </ion-header-bar>
    
        <!--下拉刷新-->
        <!--<ion-refresher on-refresh="refresHot()"
                       pulling-icon="ion-arrow-up-c"
                       pulling-text="刷新"
                       spinner="android">

        </ion-refresher>-->
      <!--模板的内容会渲染到此处-->
      	<ion-nav-view name='purchase-quanbu'>
		
		    </ion-nav-view>

        <!--上拉刷新-->
        <!--<ion-infinite-scroll on-infinite="infiniteUp()"
                               distance="5%"
                               immediate-check="false">

        </ion-infinite-scroll>-->
</ion-view>